<h1>
	<span class="capitalized"><?php echo Yii::app()->user->name ?>s</span>
	tallrikar
</h1>

<div id="platelist">

<?php if ( count($plates) == 0) { ?>

	<p>
		<em>Du har inga tallrikar</em>
	</p>

	<?php }

	else { ?>

	<ul>

	<?php
	foreach($plates as $plate) {?>
		<li class="platelistObject"><img class="platePlanImg" src="../../images/platePlan.png" alt="caleder" /><a href="<?php echo $plate['plateID'];?>"><?php echo $plate['date'].' '.$plate['platekind'];?> </a></li>
	<?php } ?>
	</ul>

	<?php } ?>
</div>